package cn.summit.log.dto;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.servlet.http.HttpServletRequest;

import lombok.Data;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
public class LogInfoDTO implements Serializable {

    private static final long serialVersionUID = -161295382198033068L;

    /**
     * 路径
     */
    private String uri;

    private HttpServletRequest request;

    private String classMethod;

    /**
     * method描述
     */
    private String methodDescription;

    private String httpMethod;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 异常
     */
    private Throwable errorInfo;

}
